<!DOCTYPE html>
<div style="display:grid; position:relative; backface-visibility:hidden;">
  <div style="z-index:-1; overflow:hidden; width:50px; height:50px; will-change:opacity;">
    <div style="position:absolute; left:0; top:0; width:100px; height:100px; background:green; will-change:opacity;"></div>
  </div>
</div>